home *** CD-ROM | disk | FTP | other *** search
-
- DISKNUMB
-
-
- DISKNUMB is a number of disk drives management program designed to
- allow the number of disk drives to be varied to suit system
- requirements. The switches of the PC may be set to reflect the actual
- number of drives actually installed. This will allow IBM Diagnostics
- or Advanced Diagnostics to be used with proper switch settings.
-
- If there is a need to change this number, DISKNUMB will reset the bios
- data value at 0040:0010 to reflect the desired number and reboot
- PC-DOS. There are a few good reasons to do this:
- 1) Some RAM disks require that the switches be changed to reflect
- the total number of drives, actual plus ram.
- 2) A program could use a nonexistent drive (B, C or D).
- In the first case, DISKNUMB will reset the number of drives to that
- desired. In the second case, DISKNUMB and ASSIGN will allow that drive
- to be used.
-
- DISKNUMB should be called from the AUTOEXEC.BAT file. It should also
- be located at or close to the beginning of the file, as it will reboot
- DOS if it must change the system's knowledge of the number of drives.
- The calling sequence is:
-
- DISKNUMB x[n]
-
- x is the number of drives that will be set into the bios data area at
- 0040:0010. This value is range checked to be between 1 and 4. If the
- value is outside of the range, an error message is printed.
-
- n is input as 'n' or 'N' and, if input, will prevent the program from
- rebooting DOS if the number of drives has been changed. This would be
- used if something else will cause the reboot. The reboot is necessary
- to inform DOS about the new value.
-
-
- Laurie Scantlin
- x-50123 ^
- Uploaded by: Mike Shunfenthal |
- 2602 West 235 Street |
- Torrance, CA 90505 This guy's a wizard!